﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CONEK911Manager.DAO;
using CONEK911Manager.DTO;

namespace CONEK911Manager.BUS
{
    class OrderBUS
    {
        readonly OrderDAO _orderDao = new OrderDAO();
        public bool AddOrder(OrderDTO order)
        {
            return _orderDao.AddOrder(order);
        }
        public List<OrderDTO> GetAllOrder()
        {
            return _orderDao.GetAllOrder();
        }
    }
}
